
def funcion(tipo, payload):
	campos_para_checksum = str(tipo) + str(payload)
	checksum = 0
	for caracter in campos_para_checksum:
		checksum = checksum + ord(caracter)
	return checksum